﻿using Entity;
using Entity.CheckInEntity;
using Entity.ResultModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IHotelBLL.ICheckInBLL
{
    public interface ICheckInBLL
    {
        public bool AddCheckInRecord(string roomId, decimal amount, string creator, string ID_Card, string Name, out string msg);
        public bool CheckOut(string id, out string msg);
        public bool AddAppointmentCheckInRecord(string creator, string id, out string msg);
        List<SelectOptionModel> GetRoomTypeOptions();
        bool ChangeTheRoom(string ID_Card, string roomId, string reason, out string msg);
        List<ResultCheckIn> GetCheckIn(int page, int limit, out int count);
        public CheckIn GetCheckIn(string id);
        CheckIn GetcheckById(string id);
     
        bool UpdateCheckIn(string id, decimal amount, string name, string iD_Card, out string msg);
    }
}
